<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> Erlang-twitter documentation!
</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<h1> Erlang-twitter documentation!
</h1>
<p><b>Authors:</b> Jean-Lou Dupont.</p>
   

<p>The library implements a Twitter client by spawning a process and waiting for request through the <a href="twitter.html#req-5"><em>twitter:req/5</em></a> function.
Once a request is issued, a response message will be sent to the caller.</p>

<h3><a name="Usage">Usage</a></h3>

	<pre>		twitter:start(),
		twitter:req({self(), from_twitter}, ...),
		...</pre>

<p>In your application code, be prepared to receive response messages:</p>

	<pre>		receive
			{from_twitter, response ...</pre>

<h3><a name="Twitter_Methods_supported">Twitter Methods supported</a></h3><p>
The following methods are currently supported:</p>

	<ul>
 		<li>users.show</li>
 		<li>statuses.user_timeline</li>
 		<li>statuses.update</li>
 	</ul>
 	
More methods can easily supported; functions acting as ''pattern matchers'' for the desired Twitter methods can be added to the code.
I currently only have need for the aforementioned. 
<hr>
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc, Aug 21 2009, 17:14:01.</i></p>
</body>
</html>
